<div class="container">
  <span></span>
  <span></span>
  <span></span>
</div>
<style>
/* From Uiverse.io by terenceodonoghue - Tags: loader */
.container {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  gap: 0.625em;
  transform: translate(-50%, -50%);
}

.container span {
  border-radius: 50%;
  height: 1.5em;
  width: 1.5em;
}

.container span::before {
  content: "";
  display: block;
  border-radius: inherit;
  height: inherit;
  width: inherit;
  background-color: inherit;
  animation: ripple 1.8s ease-out infinite;
  animation-delay: inherit;
  z-index: -1;
}

.container span:nth-of-type(1) {
  background-color: #84cdfa;
}

.container span:nth-of-type(2) {
  background-color: #5ad1cd;
  animation-delay: 0.2s;
}

.container span:nth-of-type(3) {
  background-color: #9b59b6;
  animation-delay: 0.4s;
}

@keyframes ripple {
  from {
    opacity: 1;
    transform: scale(0);
  }

  to {
    opacity: 0;
    transform: scale(3);
  }
}
</style>
